/* Copyright (c) 2022-2025 Qualcomm Technologies International, Ltd. */
/* %%version */

#ifndef GATT_XPAN_CLIENT_DISCOVERY_H_
#define GATT_XPAN_CLIENT_DISCOVERY_H_

#include "csr_synergy.h"

#ifndef EXCLUDE_GATT_XPAN_CLIENT_MODULE

#include "gatt_xpan_client_private.h"
#include "csr_bt_gatt_client_util_lib.h"

/***************************************************************************
NAME
    xpanClientHandleDiscoverAllCharacteristicsResp

DESCRIPTION
    Handles GATT_MANAGER_DISCOVER_ALL_CHARACTERISTICS_CFM message for
    'Discover All Characteristics' response.
*/
void xpanClientHandleDiscoverAllCharacteristicsResp(GXPANC *gatt_xpan_client,
                                                    const GATT_MANAGER_DISCOVER_ALL_CHARACTERISTICS_CFM_T *cfm);


/***************************************************************************
NAME
    xpanClientdiscoverAllXpanCharacteristicDescriptors

DESCRIPTION
    Discover all characteristics descriptors for the characteristic with range of start_handle to end_handle.
*/
void xpanClientdiscoverAllXpanCharacteristicDescriptors(GXPANC *gatt_xpan_client);


/***************************************************************************
NAME
    xpanClientHandleDiscoverAllCharacteristicDescriptorsResp

DESCRIPTION
    Handles GATT_MANAGER_DISCOVER_ALL_CHARACTERISTIC_DESCRIPTORS_CFM message
    for 'Discover All Characteristic Descriptors' response.
*/
void xpanClientHandleDiscoverAllCharacteristicDescriptorsResp(GXPANC *gatt_xpan_client,
                                                              const GATT_MANAGER_DISCOVER_ALL_CHARACTERISTIC_DESCRIPTORS_CFM_T *cfm);


#endif /* EXCLUDE_GATT_XPAN_CLIENT_MODULE */
#endif /* GATT_XPAN_CLIENT_DISCOVERY_H_ */
